package com.ruoyi.system.domain.vo;

/**
 * @ClassName : DefCompanyVo
 * @Description : 单位统计
 * @Author : gaoxianyang
 * @Date: 2024-10-11 18:04
 */
public class DefCompanyVo {

    private Integer unitId;        // 对应 unit_id
    private String companyName; // 对应 company_name
    private Integer score = 0;      // 对应 score
    private Integer def = 0;        // 对应 def
    private Integer total = 0;      // 对应 total
    private Double rate;        // 对应 rate，保留两位小数
    private Integer artck = 0;

    // Getters and Setters
    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getDef() {
        return def;
    }

    public void setDef(Integer def) {
        this.def = def;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public Integer getArtck() {
        return artck;
    }

    public void setArtck(Integer artck) {
        this.artck = artck;
    }

    @Override
    public String toString() {
        return "DefCompanyDTO{" +
                "unitId=" + unitId +
                ", companyName='" + companyName + '\'' +
                ", score=" + score +
                ", def=" + def +
                ", total=" + total +
                ", rate=" + rate +
                '}';
    }
}

